﻿Namespace Attributes
    <System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple:=False, Inherited:=True), System.Serializable()> _
Public Class FieldMappingAttribute
        Inherits Attribute
        Implements IPropertyAttribute
        Private _DbFieldMapp As String
        Public Property DbFieldMapp() As String
            Get
                Return _DbFieldMapp
            End Get
            Set(ByVal value As String)
                _DbFieldMapp = value
            End Set
        End Property

        Public Sub New(ByVal FieldName As String)
            Me.DbFieldMapp = FieldName
        End Sub
    End Class
End Namespace

